 import request from '@/utils/request'


  //分页获取待分组的设备
  export const toBound = (query) => {
    return request({
      url: '/resource/group​/device/toBound',
      method: 'get',
      params: query
    })
  }


  
    //启用产品告警
    export const release = (deviceId) => {
      return request({
        url: '/resource​/device/release/' + deviceId,
        method: 'post'
      })
    }
  
     //停用产品告警
     export const unRelease = (deviceId) => {
      return request({
        url: '/resource​/device/unRelease/' + deviceId,
        method: 'post'
      })
    }







  